package com.enlorenz.support.bank.iso8583custom.msg;

import com.enlorenz.core.enu.BaseEnum;

/**
 * 交易处理码枚举
 * @author Karma
 */
public enum ProcessingCodeEnum implements BaseEnum<ProcessingCodeEnum>{
	Q_300000("300000","余额查询","银行卡余额查询"),
	P_190000("190000","消费相关","缴费、缴费冲正、现金缴费、现金缴费冲正、消费、消费冲正、IC卡脱机消费通知、代收"),
	P_200000("200000","退货","缴费退货、消费退货"),
	P_280000("280000","冲正撤销","缴费撤销、缴费撤销冲正、消费撤销、消费撤销冲正、单笔代收撤销");
	
	private Object value;
	private String desp;
	private String detail;
	private ProcessingCodeEnum(Object value,String desp,String detail){
		this.value=value;
		this.desp=desp;
		this.detail=detail;
	}
	
	public String toString(){
		return value+":"+desp;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public String getDesp() {
		return desp;
	}

	public void setDesp(String desp) {
		this.desp = desp;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
}
